<?php
include('include/config.inc.php');
$supplierId  ="";
$address     ="";
if(isset($_REQUEST['supplierId']) && $_REQUEST['supplierId'] > 0)
{
  $selectAddress = "SELECT address
                      FROM supplier
                     WHERE supplierId = ".$_GET['supplierId'];
  $selectAddressRes = mysql_query($selectAddress);
  if($addressRow = mysql_fetch_array($selectAddressRes))
    $address = $addressRow['address'];
  
  echo $address;
}
?>